Skip to content

Updated ISettings dataclass for imageInference support#288

Open
Sirsho1997 wants to merge 3 commits intomainfrom
feature-UNI-support
Open

Updated ISettings dataclass for imageInference support#288
Sirsho1997 wants to merge 3 commits intomainfrom
feature-UNI-support

Conversation

@Sirsho1997
Copy link
Copy Markdown
Collaborator

  • ISettings now includes:
    • search: Optional[bool] = None

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 4, 2026

Important

Review skipped

Auto reviews are disabled on this repository. To trigger a review, include review in the PR description. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 21dcb906-9181-404d-a788-e06fd2ff75a7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch feature-UNI-support

Comment @coderabbitai help to get the list of available commands and usage tips.

@Sirsho1997 Sirsho1997 changed the title Updated Isettings dataclass Updated ISettings dataclass for imageInference support May 4, 2026
@Sirsho1997 Sirsho1997 requested a review from Copilot May 4, 2026 13:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR appears intended to extend the shared ISettings payload used across inference APIs and to add document preprocessing for text inference requests. In the SDK overall, these changes affect the public request dataclasses in runware/types.py and the text request preparation path in runware/base.py.

Changes:

  • Added search: Optional[bool] = None to ISettings.
  • Reordered and regrouped the ISettings dataclass fields.
  • Added document preprocessing in _requestText before building text inference requests.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
runware/types.py Updates the shared ISettings dataclass, including the new search field and a full field reordering.
runware/base.py Adds preprocessing for inputs.documents in the non-streaming text inference request path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread runware/base.py Outdated
Comment thread runware/base.py Outdated
Comment thread runware/types.py
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread runware/types.py
Comment thread runware/types.py
Comment thread runware/types.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants